package com.ruoyi.system.domain;

import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 设备信息管理对象 drinfo
 * 
 * @author yaozh
 * @date 2024-03-01
 */
public class Drinfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 设备ID，主键，自动递增 */
    private Long drid;

    /** 设备名称 */
    @Excel(name = "设备名称")
    private String drname;

    /** 设备名称（英文） */
    @Excel(name = "英文名称")
    private String drnameEN;
    private String drnameCNEN;

    /** 设备编码 */
    @Excel(name = "设备编码")
    private String drcode;

    /** 设备类型ID（对应drtypeinfo表的drtypeid） */
    @Excel(name = "设备类型ID")
    private Long drtypeid;

    private String drTypeCode;//设备类型编码
    @Excel(name = "设备类型")
    private String drtypename;

    /** 统一的设备编制（保留与其他系统进行对应的编号） */
    @Excel(name = "统一的设备编制")
    private String MDcode;

    /** 类型用途（与门禁系统的关联。选择门禁后。那么统一设备编号就对应门禁的编号） */
    @Excel(name = "类型用途")
    private String typeYT;

    /** 所属的建筑id */
    @Excel(name = "所属的建筑ID")
    private Long buildid;
    @Excel(name = "所属的建筑")
    private String buildName;

    /** 楼层id */
    @Excel(name = "所属楼层ID")
    private Long floorId;
    @Excel(name = "所属楼层")
    private String floorName;

    /** 区域id */
    @Excel(name = "所属区域ID")
    private Long areaId;

    @Excel(name = "所属区域")
    private String areaName;

    /** 部门id */
    @Excel(name = "所属部门ID")
    private Long departmentid;

    /** 负责人id，对应appuser表ID */
    @Excel(name = "负责人id，对应appuser表ID")
    private Long userid;

    /** 资产类别。对应assets表 */
    @Excel(name = "资产类别。对应assets表")
    private Long assetsTypeid;

    /** 用于视频链接的id */
    @Excel(name = "用于视频链接的id")
    private String spid;

    /** 设备操作手册id */
    @Excel(name = "设备操作手册id")
    private Long instructionsid;

    /** 设备型号 */
    @Excel(name = "设备型号")
    private String drManufacturestyle;

    /** 设备生产厂家 */
    @Excel(name = "设备生产厂家")
    private String drManufacturefactory;

    /** 生产厂家电话 */
    @Excel(name = "生产厂家电话")
    private String drFactoryphone;

    /** 安装时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "安装时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date drInstalltime;

    /** 安装厂家 */
    @Excel(name = "安装厂家")
    private String drInstallfactory;

    /** 安装厂家电话 */
    @Excel(name = "安装厂家电话")
    private String drInstallphone;

    /** 使用状态。1使用。0未使用 */
    @Excel(name = "使用状态。1使用。0未使用")
    private Long drUsestate;

    /** 使用说明 */
    @Excel(name = "使用说明")
    private String drUseexplain;

    /** 设备X坐标 */
    @Excel(name = "设备X坐标")
    private String pointX;

    /** 设备Y坐标 */
    @Excel(name = "设备Y坐标")
    private String pointY;

    /** 设备Z坐标 */
    @Excel(name = "设备Z坐标")
    private String pointZ;

    /** 设备图标路径 */
    @Excel(name = "设备图标路径")
    private String iconpath;

    /** 坐标类型Random(随机)Seting(设置) */
    @Excel(name = "坐标类型Random(随机)Seting(设置)")
    private String pointType;

    /** 说明 */
    @Excel(name = "说明")
    private String info;

    /** 设备的2D模型地址，有多个地址用逗号隔开 */
    @Excel(name = "设备的2D模型地址，有多个地址用逗号隔开")
    private String model2dIp;

    /** 设备的2D模型中绑定的变量 */
    @Excel(name = "设备的2D模型中绑定的变量")
    private String model2dDataid;

    /** 属性变量管理信息 */
    private List<Reg> regList;

    public void setDrid(Long drid) 
    {
        this.drid = drid;
    }

    public Long getDrid() 
    {
        return drid;
    }
    public void setDrname(String drname) 
    {
        this.drname = drname;
    }

    public String getDrname() 
    {
        return drname;
    }
    public void setDrnameEN(String drnameEN) 
    {
        this.drnameEN = drnameEN;
    }

    public String getDrnameEN() 
    {
        return drnameEN;
    }
    public void setDrcode(String drcode) 
    {
        this.drcode = drcode;
    }

    public String getDrcode() 
    {
        return drcode;
    }
    public void setDrtypeid(Long drtypeid) 
    {
        this.drtypeid = drtypeid;
    }

    public Long getDrtypeid() 
    {
        return drtypeid;
    }

    public String getDrtypename() {
        return drtypename;
    }

    public void setDrtypename(String drtypename) {
        this.drtypename = drtypename;
    }

    public void setMDcode(String MDcode) 
    {
        this.MDcode = MDcode;
    }

    public String getMDcode() 
    {
        return MDcode;
    }
    public void setTypeYT(String typeYT) 
    {
        this.typeYT = typeYT;
    }

    public String getTypeYT() 
    {
        return typeYT;
    }
    public void setBuildid(Long buildid) 
    {
        this.buildid = buildid;
    }

    public Long getBuildid() 
    {
        return buildid;
    }
    public void setFloorId(Long floorId) 
    {
        this.floorId = floorId;
    }

    public Long getFloorId() 
    {
        return floorId;
    }
    public void setAreaId(Long areaId) 
    {
        this.areaId = areaId;
    }

    public Long getAreaId() 
    {
        return areaId;
    }
    public void setDepartmentid(Long departmentid) 
    {
        this.departmentid = departmentid;
    }

    public Long getDepartmentid() 
    {
        return departmentid;
    }
    public void setUserid(Long userid) 
    {
        this.userid = userid;
    }

    public Long getUserid() 
    {
        return userid;
    }
    public void setAssetsTypeid(Long assetsTypeid) 
    {
        this.assetsTypeid = assetsTypeid;
    }

    public Long getAssetsTypeid() 
    {
        return assetsTypeid;
    }
    public void setSpid(String spid) 
    {
        this.spid = spid;
    }

    public String getSpid() 
    {
        return spid;
    }
    public void setInstructionsid(Long instructionsid) 
    {
        this.instructionsid = instructionsid;
    }

    public Long getInstructionsid() 
    {
        return instructionsid;
    }
    public void setDrManufacturestyle(String drManufacturestyle) 
    {
        this.drManufacturestyle = drManufacturestyle;
    }

    public String getDrManufacturestyle() 
    {
        return drManufacturestyle;
    }
    public void setDrManufacturefactory(String drManufacturefactory) 
    {
        this.drManufacturefactory = drManufacturefactory;
    }

    public String getDrManufacturefactory() 
    {
        return drManufacturefactory;
    }
    public void setDrFactoryphone(String drFactoryphone) 
    {
        this.drFactoryphone = drFactoryphone;
    }

    public String getDrFactoryphone() 
    {
        return drFactoryphone;
    }
    public void setDrInstalltime(Date drInstalltime) 
    {
        this.drInstalltime = drInstalltime;
    }

    public Date getDrInstalltime() 
    {
        return drInstalltime;
    }
    public void setDrInstallfactory(String drInstallfactory) 
    {
        this.drInstallfactory = drInstallfactory;
    }

    public String getDrInstallfactory() 
    {
        return drInstallfactory;
    }
    public void setDrInstallphone(String drInstallphone) 
    {
        this.drInstallphone = drInstallphone;
    }

    public String getDrInstallphone() 
    {
        return drInstallphone;
    }
    public void setDrUsestate(Long drUsestate) 
    {
        this.drUsestate = drUsestate;
    }

    public Long getDrUsestate() 
    {
        return drUsestate;
    }
    public void setDrUseexplain(String drUseexplain) 
    {
        this.drUseexplain = drUseexplain;
    }

    public String getDrUseexplain() 
    {
        return drUseexplain;
    }
    public void setPointX(String pointX) 
    {
        this.pointX = pointX;
    }

    public String getPointX() 
    {
        return pointX;
    }
    public void setPointY(String pointY) 
    {
        this.pointY = pointY;
    }

    public String getPointY() 
    {
        return pointY;
    }
    public void setPointZ(String pointZ) 
    {
        this.pointZ = pointZ;
    }

    public String getPointZ() 
    {
        return pointZ;
    }
    public void setIconpath(String iconpath) 
    {
        this.iconpath = iconpath;
    }

    public String getIconpath() 
    {
        return iconpath;
    }
    public void setPointType(String pointType) 
    {
        this.pointType = pointType;
    }

    public String getPointType() 
    {
        return pointType;
    }
    public void setInfo(String info) 
    {
        this.info = info;
    }

    public String getInfo() 
    {
        return info;
    }
    public void setModel2dIp(String model2dIp) 
    {
        this.model2dIp = model2dIp;
    }

    public String getModel2dIp() 
    {
        return model2dIp;
    }
    public void setModel2dDataid(String model2dDataid) 
    {
        this.model2dDataid = model2dDataid;
    }

    public String getModel2dDataid() 
    {
        return model2dDataid;
    }

    public List<Reg> getRegList()
    {
        return regList;
    }

    public void setRegList(List<Reg> regList)
    {
        this.regList = regList;
    }

    public String getBuildName() {
        return buildName;
    }

    public void setBuildName(String buildName) {
        this.buildName = buildName;
    }

    public String getFloorName() {
        return floorName;
    }

    public void setFloorName(String floorName) {
        this.floorName = floorName;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    public String getDrnameCNEN() {
        return drnameCNEN;
    }

    public void setDrnameCNEN(String drnameCNEN) {
        this.drnameCNEN = drnameCNEN;
    }

    public String getDrTypeCode() {
        return drTypeCode;
    }

    public void setDrTypeCode(String drTypeCode) {
        this.drTypeCode = drTypeCode;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("drid", getDrid())
            .append("drname", getDrname())
            .append("drnameEN", getDrnameEN())
            .append("drcode", getDrcode())
            .append("drtypeid", getDrtypeid())
            .append("MDcode", getMDcode())
            .append("typeYT", getTypeYT())
            .append("buildid", getBuildid())
            .append("floorId", getFloorId())
            .append("areaId", getAreaId())
            .append("departmentid", getDepartmentid())
            .append("userid", getUserid())
            .append("assetsTypeid", getAssetsTypeid())
            .append("spid", getSpid())
            .append("instructionsid", getInstructionsid())
            .append("drManufacturestyle", getDrManufacturestyle())
            .append("drManufacturefactory", getDrManufacturefactory())
            .append("drFactoryphone", getDrFactoryphone())
            .append("drInstalltime", getDrInstalltime())
            .append("drInstallfactory", getDrInstallfactory())
            .append("drInstallphone", getDrInstallphone())
            .append("drUsestate", getDrUsestate())
            .append("drUseexplain", getDrUseexplain())
            .append("pointX", getPointX())
            .append("pointY", getPointY())
            .append("pointZ", getPointZ())
            .append("iconpath", getIconpath())
            .append("pointType", getPointType())
            .append("info", getInfo())
            .append("model2dIp", getModel2dIp())
            .append("model2dDataid", getModel2dDataid())
            .append("regList", getRegList())
            .toString();
    }
}
